﻿<%@ Page Language="C#" %>

<%
    DTO.NguoiDungDto nguoidung = new DTO.NguoiDungDto();
    nguoidung.Ma = int.Parse(Request["ma"]);
    nguoidung.TenDangNhap = Request["tendangnhap"];
    String password = Request["pass"];
    
    if(BUS.NguoiDungBus.ThaydoiMatKhauNguoiDung(nguoidung,password) == true)
        Response.Write("1");
    else
        Response.Write("0");
%>